package org.paysim.constant;

public enum TradeStatus {
    TRADE_SUCCESS("TRADE_SUCCESS", "支付成功"), TRADE_CLOSED("TRADE_CLOSED", "交易关闭"),
    TRADE_FINISHED("TRADE_FINISHED", "交易完结"), WAIT_BUYER_PAY("WAIT_BUYER_PAY", "交易创建"),
    TRADE_STATUS_ERROR("TRADE_STATUS_ERROR", "交易状态不支持此操作"), CANCLE_FAILED("CANCLE_FAILED", "取消订单失败");

    private TradeStatus(String status, String description) {
        this.status = status;
        this.description = description;
    }

    private final String status;
    private final String description;

    public String getStatus() {
        return status;
    }

    public String getDescription() {
        return description;
    }

}
